/**
 * Yolema.com Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */
package org.grayrabbit.pay.facade.bean;

import java.io.Serializable;

import org.grayrabbit.pay.facade.common.TradeConstants.TradeCode;

/**
 * 
 * @author wy
 * @version $Id: TradeMapping.java, v 0.1 2012-7-28 下午2:33:39 wy Exp $
 */
public class TradeMapping implements Serializable {

    /** serialVersionUID */
    private static final long serialVersionUID = 3264576552195043702L;

    /**交易号*/
    private String            transId;

    /**传入的orderId*/
    private String            orderId;

    /**本次交易的业务名称*/
    private String            name;

    /**交易金额*/
    private Money             money;

    /**客户端交易的用户，非必须*/
    private String            user;                                    ;

    /**备注,非必须*/
    private String            memo;

    /**
     * 交易状态 
     */
    private TradeCode         tradeCode;

    public String getTransId() {
        return transId;
    }

    public void setTransId(String transId) {
        this.transId = transId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Money getMoney() {
        return money;
    }

    public void setMoney(Money money) {
        this.money = money;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public TradeCode getTradeCode() {
        return tradeCode;
    }

    public void setTradeCode(TradeCode tradeCode) {
        this.tradeCode = tradeCode;
    }

}
